﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MessageBoard.aspx.cs" Inherits="MessageBoard"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>ASPExam</title>
    <style type="text/css">
        h1{
        	text-align:center;
        }
        tabel
        {
        	border:1px solid #858585;
        	border-collapse:collapse;
        	font-size:14px;
        	
        }
        th
        {
            font-weight:bold;
            padding:4px 12px 4px 12px;
            text-align:center;
        }
        td
        {
        	color:#686868;
        	padding:4px 12px 4px 12px;
        }
    </style>
</head>
<body style="height: 849px">
    <form id="form1" runat="server">
    <div>
        <h1>&nbsp;</h1>
        <h1>哈哈哈</h1>
        当前时间:
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:Label ID="LabelTime" runat="server" Text="Label"></asp:Label>
                <asp:Timer ID="TimerNow" runat="server" Interval="1000" ontick="TimerNow_Ontick" />
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:Label ID="LabelTitle" runat="server" Text=""></asp:Label>
        <asp:GridView ID="GridviewHistory" runat="server" DataKeyNames="index" AutoGenerateColumns="false">
            <Columns>
                <asp:BoundField DataField="username" HeaderText="用户" />
                <asp:BoundField DataField="time" HeaderText="时间" />
                <asp:BoundField DataField="title" HeaderText="标题" />
                <asp:BoundField DataField="text" HeaderText="留言" />
            </Columns>
        </asp:GridView>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="xgbt" runat="server" OnClick="xgbt_Click" Text="修改密码" />
&nbsp;<p>你的留言:</p>
        <asp:TextBox ID="TextBoxChat" TextMode="MultiLine" runat="server" Rows="10" Columns="110"></asp:TextBox>
        <br/>
        留言标题:<asp:TextBox ID="TextBoxTitle" runat="server"></asp:TextBox>
        验证码:<asp:TextBox ID="yztext" runat="server"></asp:TextBox>
        &nbsp;
        <br />
&nbsp;&nbsp;&nbsp;
        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
            <ContentTemplate>
                <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/code.aspx" />
            </ContentTemplate>
        </asp:UpdatePanel>
&nbsp;&nbsp;&nbsp;&nbsp;
        <br />
        <asp:Button ID="ButtonSend" runat="server" Text="留言" OnClick="ButtonSend_Click" Height="29px"/>
        <br />
        <br />
&nbsp;</div>
    </form>
</body>
</html>
